package com.amigo.online.provider.video.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.common.base.entity.BaseEntity;

/**
 * 视频观看记录实体类
 *
 * @author amigo
 */
@Table(name = "video_look_tbl")
@Alias(value = "videoLook")
public class VideoLook extends BaseEntity {

    /**
     *
     */
    private static final long serialVersionUID = 1528482844796012538L;

    /**
     * 视频ID
     */
    @Column(name = "video_id")
    private Long videoId;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "device_id")
    private String deviceId;

    @Column(name = "look_time")
    private Long lookTime;

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Long getLookTime() {
        return lookTime;
    }

    public void setLookTime(Long lookTime) {
        this.lookTime = lookTime;
    }


}
